package com.googlecode.slm.domain.web;

/**
 * Created by IntelliJ IDEA.
 * User: liguangjian
 * Date: 11-10-7
 * Time: 下午2:39
 * To change this template use File | Settings | File Templates.
 */
public class TreeNodeAttributes {

    private int pid;

    private String url;
    
    //1表示功能叶子0表示功能模块
    private int leafage;

    public TreeNodeAttributes(int pid, String url, int leafage) {
        this.pid = pid;
        this.url = url;
        this.leafage = leafage;
    }

    public int getLeafage() {
		return leafage;
	}

	public void setLeafage(int leafage) {
		this.leafage = leafage;
	}

	public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
